package com.shop.shoporder.service;

import com.shop.shoporder.common.Response;
import com.shop.shoporder.entity.order.GoodsComment;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

public interface GoodsCommentService {
    int deleteByPrimaryKey(Integer id);

    int insert(GoodsComment record);

    int insertSelective(GoodsComment record);

    GoodsComment selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(GoodsComment record);

    int updateByPrimaryKey(GoodsComment record);
    Response goodsComment(Map<String, String> map, HttpServletRequest request) throws  Exception;

    Response commentList(Map<String, String> map, HttpServletRequest request) throws  Exception;
}
